package com.eastfair.point.orderbusiness;

import com.eastfair.core.point.OrderPointBuilder;
import com.eastfair.core.point.PointBuilder;
import com.eastfair.point.PointKeyDefinition;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 加载用户权限事件埋点 业务数据
 */
@Data
public class OrderUserPoint implements OrderPointBuilder {
    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private Long userId;

    /**
     * 项目id
     */
    private Long projectId;

    @Override
    public String getPointName() {
        return PointKeyDefinition.ORDER_USER;
    }

    /**
     * 顺序因子
     */
    private String orderPointOrderId;

    @Override
    public String getOrderPointOrderId() {
        return orderPointOrderId;
    }
}
